# week_04
# beersong中使用for迭代处理函数，又内置range函数
# 请求循环了range次for循环
word = "雪花啤酒"
for beer_num in range(5,0,-1):
    # 吧台靓仔讲
    print(beer_num,"瓶",word,"在啤酒柜上")
    print(beer_num,word,":瓶")
    print("拿走一瓶")
    print("剩几瓶")
    # 客户
    if beer_num == 1:
        print("没有更多的雪花啤酒了")
    else:
        # 因为数值是可以运算的
        new_num = beer_num -1
        if new_num == 1:
            word = "雪花啤酒"
            print(beer_num,"瓶",word,"在啤酒柜上")
        print()

